package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 
 * @author Rongjie
 */
@Data
@TableName("fintech_credit_history")
@KeySequence(value = "fintech_credit_history_SEQ")
@ApiModel(value = "FintechCreditHistory对象")
public class FintechCreditHistory implements Serializable{

       @ApiModelProperty(value = "app_key")
       private String appKey;

       @TableId(value = "credit_history_key", type = IdType.UUID)
       private String creditHistoryKey;

       private String userKey;

       @ApiModelProperty(value = "当前信用额度", example = "1")
       private Integer creditAmount;

       @ApiModelProperty(value = "变化量", example = "1")
       private Integer creditChange;

       @ApiModelProperty(value = "变动原因")
       private String changeReason;

       @ApiModelProperty(value = "创建时间")
       private Date createTime;

}
